package com.itheima.tlias.service;

import com.itheima.tlias.common.result.Result;
import com.itheima.tlias.pojo.po.InsertStudentParam;
import com.itheima.tlias.pojo.po.SelectStudentPageParam;
import com.itheima.tlias.pojo.po.UpdateStudentParam;

import java.util.List;

public interface StudentService {
    Result insertStudent(InsertStudentParam param);

    Result selectStudentByPage(SelectStudentPageParam param);

    Result violation(Integer id, Integer score);

    Result selectStudentById(Integer id);

    Result updateStudent(UpdateStudentParam param);

    Result batchDeleteStudentByIds(List<Integer> ids);
}
